package com.xinsoft.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 文档关联表
 * @TableName scm_document
 */
@TableName(value ="scm_document")
@Data
public class ScmDocument implements Serializable {
    /**
     * 文档关联表ID
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 对应id
     */
    @TableField(value = "scm_id")
    private Integer scmId;

    /**
     * 文档存储记录id
     */
    @TableField(value = "document_id")
    private Integer documentId;

    /**
     * 对应单据类型 1-销售订单 2-发货通知
     */
    @TableField(value = "scm_type")
    private Integer scmType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}